package pers.xhh.frontapi.entity.to.user;

import javax.validation.constraints.NotBlank;

/**
 * @author wei-xhh
 * @date 2020-12-15
 */
public class MiUserLogin {
    @NotBlank(message = "用户名不能为空！")
    private String username;
    @NotBlank(message = "密码不能为空！")
    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
